Matthias Clasen [Sat, 23 Mar 2013 21:09:38 +0000 (17:09 -0400)]
wayland: Respect keymap repeat information
xkb has a function to tell us whether a key should be repeated
or not. Lets use that information.
Jorge Pérez Pérez [Sat, 23 Mar 2013 21:19:11 +0000 (22:19 +0100)]
Updated Aragonese translation
Colin Walters [Sat, 23 Mar 2013 18:09:20 +0000 (14:09 -0400)]
gtktoolpalette: Only call gdk_atom_intern when we're constructed
Otherwise we end up trying to instantiate a display manager in
class_init which breaks introspection scanning.
https://bugzilla.gnome.org/show_bug.cgi?id=696457
Colin Walters [Sat, 23 Mar 2013 17:51:24 +0000 (13:51 -0400)]
gdkkeys: Avoid instantiating a display manager if none exists
For introspection scanning which ends up calling class_init() which in
turn calls into the keybindings code, we can just use the fallback
keyval conversion code.
https://bugzilla.gnome.org/show_bug.cgi?id=696457
Marc-André Lureau [Wed, 20 Mar 2013 22:12:56 +0000 (23:12 +0100)]
win32: do not crash on invalid utf8 conversion
g_utf8_to_utf16() is not guaranteed to succeed. Check the error
and return if it failed.
https://bugzilla.gnome.org/show_bug.cgi?id=696232
Tarnyko [Sat, 23 Mar 2013 19:47:39 +0000 (15:47 -0400)]
win32: Improve GtkAssistant theming
The highlighted color chosen for GtkAssistant header font
(deep blue) makes it hardly readable is most cases. Switch
to light gray.
https://bugzilla.gnome.org/show_bug.cgi?id=696171
Matthias Clasen [Sat, 23 Mar 2013 19:43:20 +0000 (15:43 -0400)]
Expand testgrid to cover row/column removal
Matthias Clasen [Sat, 23 Mar 2013 19:40:44 +0000 (15:40 -0400)]
Add gtk_grid_remove_{row,column}
It is sometimes convenient to deal with entire rows or
columns at a time.
https://bugzilla.gnome.org/show_bug.cgi?id=695994
John Lindgren [Sat, 23 Mar 2013 18:41:09 +0000 (19:41 +0100)]
Use natural size to set adjustment ranges
This is an (unintentional) side effect of my changes to GtkTreeView's
get_preferred_size() implementation. It seems odd to me that
GtkTreeView directly determines its own size when inside a
GtkScrolledWindow, but since it does, it should be using its natural
size, not its minimum size.
Vadim Godunko [Sat, 23 Mar 2013 18:01:35 +0000 (14:01 -0400)]
Fix drawing of grid lines in RTL
The vertical grid lines were not properly positions in
RTL locales.
https://bugzilla.gnome.org/show_bug.cgi?id=696051
Matthias Clasen [Sat, 23 Mar 2013 16:56:54 +0000 (12:56 -0400)]
wayland: Pick up more settings
With this commit, we pick up xft settings from GSettings
as well. Among other things, this makes the Large Text
setting work. Still to do: pick up fontconfig changes without
having all clients use up inotify watches for all font
directories.
Yuri Myasoedov [Sat, 23 Mar 2013 16:03:18 +0000 (20:03 +0400)]
Updated Russia translation
Tristan Van Berkom [Sat, 23 Mar 2013 11:44:12 +0000 (20:44 +0900)]
GtkBuilder: Fixed documentation
The documentation was referring to an <external-object> tag
which we never implemented
Matthias Clasen [Sat, 23 Mar 2013 04:16:24 +0000 (00:16 -0400)]
Add gdk_set_allowed_backends
This new function allows programmatic control over the
GDK backends that will be used at runtime.
Matthias Clasen [Sat, 23 Mar 2013 04:47:22 +0000 (00:47 -0400)]
Implement GInitable in GdkBroadwayDisplayManager
Add GInitable implementation and fail the initialisation if it is not
possible to set up a broadway server.
Matthias Clasen [Sat, 23 Mar 2013 04:37:53 +0000 (00:37 -0400)]
Implement GInitable in GdkX11DisplayManager
Add GInitable implementation and fail the initialisation if it is not
possible to connect to the display server.
Thomas Wood [Fri, 22 Feb 2013 16:44:13 +0000 (16:44 +0000)]
wayland: implement GInitable and check the connection to the display server
Add GInitable implementation and fail the initialisation if it is not
possible to connect to the display server.
https://bugzilla.gnome.org/show_bug.cgi?id=694465
Thomas Wood [Fri, 22 Feb 2013 16:41:12 +0000 (16:41 +0000)]
gdk: Implement GInitable on GdkDisplayManager
Add GInitable interface with a default implementation that always
succeeds. This allows backends to override the GInitable implementation
and add their own checks to determine if the backend can be loaded. If
a backend cannot be loaded, GDK can attempt to load the next available
backend.
Since backends may need to read any relevant options (such as the
display flag) to determine if they can be created successfully, this
patch also removes calls that attempt to create the display manager
before the options have been parsed.
https://bugzilla.gnome.org/show_bug.cgi?id=694465
Matthias Clasen [Sat, 23 Mar 2013 00:31:50 +0000 (20:31 -0400)]
Update cursor theme on wayland
Call the new new api from gtksettings.c when it changes, just
as we do for X11.
https://bugzilla.gnome.org/show_bug.cgi?id=696428
Matthias Clasen [Sat, 23 Mar 2013 00:30:51 +0000 (20:30 -0400)]
wayland: Implement cursor theme changing
Add gdk_wayland_display_set_cursor_theme and implement it.
Matthias Clasen [Fri, 22 Mar 2013 23:32:39 +0000 (19:32 -0400)]
wayland: Respect cursor size setting
Respect the cursor size setting when loading the cursor theme.
Matthias Clasen [Fri, 22 Mar 2013 23:27:36 +0000 (19:27 -0400)]
wayland: Add cursor-size setting
This will be picked up by cursor themes soon.
Matthias Clasen [Fri, 22 Mar 2013 23:09:20 +0000 (19:09 -0400)]
wayland: Avoid segfault when cursors are freed
The check for GDK_CURSOR_IS_PIXMAP was ineffective, since _all_
cursors have this type, from the looks of it. Instead, store
buffer ownership information separately.
Matthias Clasen [Fri, 22 Mar 2013 22:34:44 +0000 (18:34 -0400)]
wayland: Emit GdkKeymap::state-changed when appropriate
This makes the caps lock warning in password entries work.
Matthias Clasen [Fri, 22 Mar 2013 22:26:33 +0000 (18:26 -0400)]
wayland: Make key repeat configurable
These might be candidates for a future settings interface; until
then, we use GSettings directly. Note again that we are careful
to avoid a dependency on GNOME schemas.
Matthias Clasen [Fri, 22 Mar 2013 22:09:23 +0000 (18:09 -0400)]
wayland: Factor out key repeat parameters
This is in preparation for picking these values up from
existing configuration.
Matthias Clasen [Fri, 22 Mar 2013 21:53:28 +0000 (17:53 -0400)]
wayland: Drop an unused variable
The keymap member in GdkWaylandDisplay is not used at all,
so drop it.
Matthias Clasen [Fri, 22 Mar 2013 21:43:50 +0000 (17:43 -0400)]
wayland: Fix key repeat
Key repeat under X is not affected by modifiers. And on some systems
(e.g my Thinkpad), NumLock is permanently on, rendering key repeat
nonfunctional. This commit changes the Wayland backend to do
key repeat regardless of modifiers.
http://bugzilla.gnome.org/show_bug.cgi?id=695497
Cosimo Cecchi [Fri, 22 Mar 2013 16:44:27 +0000 (12:44 -0400)]
appchooserbutton: filter out applications not supposed to be visible
Ensure NoDisplay=true applications don't end up in the list populated by
GtkAppChooserButton.
https://bugzilla.gnome.org/show_bug.cgi?id=696405
Rajesh Ranjan [Fri, 22 Mar 2013 09:31:16 +0000 (15:01 +0530)]
hindi translation
Matthias Clasen [Thu, 21 Mar 2013 18:01:33 +0000 (14:01 -0400)]
Don't react to clicks in content
This breaks way too many things, and we explicitly trigger
drags from menubars and toolbars, where we want it.
Matthias Clasen [Thu, 21 Mar 2013 17:39:06 +0000 (13:39 -0400)]
csd: Make link activation work reliably
The label code was just letting some button press events bubble
up, which caused misbehaviour with the window dragging code.
https://bugzilla.gnome.org/show_bug.cgi?id=695506
Matthias Clasen [Thu, 21 Mar 2013 17:07:29 +0000 (13:07 -0400)]
csd: Allow moving maximized windows
This make the nice 'snap off' feature of gnome-shell work
with client-side decorations. weston moves the maximized window
around, which is less ideal...
Thomas Hindoe Paaboel Andersen [Thu, 21 Mar 2013 20:05:32 +0000 (21:05 +0100)]
wayland: complete cursor_for_pixbuf
Finishes the implementation for loading cursors from pixbufs.
Gnome bug #696223
Kalev Lember [Thu, 21 Mar 2013 21:26:02 +0000 (22:26 +0100)]
win32: link with -lwinmm
... to resolve the timeBeginPeriod() / timeEndPeriod() symbols after
commit
5dbf814f0c0c94733ef96d6dc3c8c5ddb7a63f3a.
Cosimo Cecchi [Thu, 21 Mar 2013 12:47:06 +0000 (08:47 -0400)]
window: don't add the background style class when drawing CSD elements
We already set it in init, so this is just redundant.
The additional window-content style class here is needed so that we can
distinguish between the full X window background and the background for
the actual window contents.
Cosimo Cecchi [Thu, 21 Mar 2013 12:46:43 +0000 (08:46 -0400)]
window: add a "client-decorated" style class when the window is so
The theme might want to apply some specific theming to a client
decorated toplevel window, so add a style class for that.
Fran Diéguez [Thu, 21 Mar 2013 19:29:59 +0000 (20:29 +0100)]
Updated galician translations
Baurzhan Muftakhidinov [Thu, 21 Mar 2013 18:22:37 +0000 (00:22 +0600)]
Updated Kazakh translation.
Kristian Høgsberg [Thu, 21 Mar 2013 12:51:35 +0000 (08:51 -0400)]
wayland: Clear current cusor on leave so we always set it on enter
Commit
0d9d808217a04ee965ce5f60f9aff00b2ec4938e fixed the hotspot issue,
but commit
f2cc52fddd74b3064eec85e17161ebbc4ee14f49 then optimized away
cursor changes a little too aggressively. We always need to set the
cursor on enter. Make sure we clear the current cursor on leave so we
don't think it's already set on the next enter.
https://bugzilla.gnome.org/show_bug.cgi?id=695512
Matthias Clasen [Thu, 21 Mar 2013 10:52:42 +0000 (06:52 -0400)]
Wayland: Read settings out of GSettings directly
Until we figure out where we want to go with settings under
Wayland, this makes GTK+ applications a lot easier to deal
with under Wayland.
Note that we are careful to deal with the absence of schemas,
so this does not introduce a dependency on GNOME settings.
Mario Blättermann [Thu, 21 Mar 2013 08:20:34 +0000 (09:20 +0100)]
[l10n] Updated German translation
Matthias Clasen [Thu, 21 Mar 2013 03:54:49 +0000 (23:54 -0400)]
Fix DND
The removal of the Motif DND code accidentally changed the
value of the TARGET_DELETE enumeration value, breaking DND
pretty badly.
Matthias Clasen [Thu, 21 Mar 2013 02:38:36 +0000 (22:38 -0400)]
GtkColorChooserDialog: make alternative button order work
The alternative button order that we set did not actually
work, since the ok button did not have a response id.
Partial fix for
https://bugzilla.gnome.org/show_bug.cgi?id=695493
Kristian Høgsberg [Thu, 21 Mar 2013 02:42:44 +0000 (22:42 -0400)]
wayland: Only set cursor when it changes
Kristian Høgsberg [Thu, 21 Mar 2013 02:34:03 +0000 (22:34 -0400)]
wayland: Add a cursor cache
We avoid creating a new GdkCursor object every time
_gdk_wayland_display_get_cursor_for_name/type() is called.
Kristian Høgsberg [Thu, 21 Mar 2013 02:02:42 +0000 (22:02 -0400)]
wayland: Use the pointer enter serial when setting cursor surface
wl_pointer.set_cursor is rejected if the serial number doesn't match
the enter serial number for the wl_pointer. We passed the right serial
number when setting the cursor surface in response to the enter event.
Later set_cursor requests fail, but we can still attach new buffers to
our cursor surface, which is why the cursor changed, but the hotspot
didn't update. Clicking in the decoration results in a leave/enter pair
which triggers wl_pointer.set_cursor with the right serial. That's why
clicking the decoration sets the right cursor.
https://bugzilla.gnome.org/show_bug.cgi?id=695512
Matthias Clasen [Thu, 21 Mar 2013 02:17:14 +0000 (22:17 -0400)]
GtkColorChooser: Fix selection of colors
Prevent the new window dragging code from interfering with
selection of colors on button release, by handling button
presses we care about instead of letting them bubble up to
the window.
Partial fix for
https://bugzilla.gnome.org/show_bug.cgi?id=695493
Matthias Clasen [Thu, 21 Mar 2013 01:47:12 +0000 (21:47 -0400)]
wayland: Keep hotspot when changing cursors
We need to pass the delta between the old and new hotspot
when attaching the new cursor surface, to keep the hotspot
at the same position. We can't deal with this in the compositor,
since the set_cursor call already overwrites the old hotspot,
so the information is lost by the time the attach happens.
Unfortunately, we can't query the initial hotspot from
the compositor, so the first cursor change will make the
hotspot jump.
https://bugzilla.gnome.org/show_bug.cgi?id=695512
Gabor Kelemen [Wed, 20 Mar 2013 23:31:21 +0000 (00:31 +0100)]
Updated Hungarian translation
Matthias Clasen [Wed, 20 Mar 2013 15:42:35 +0000 (11:42 -0400)]
GtkWindow: clean up button event handling
We were not translating event coordinates to the toplevel
window, thus the regions we determined were not right.
We were also not respecting the maximized state, and we
were unnecessarily refusing to handle events when not decorated.
https://bugzilla.gnome.org/show_bug.cgi?id=696197
Balázs Úr [Wed, 20 Mar 2013 21:10:37 +0000 (22:10 +0100)]
Updated Hungarian translation
ManojKumar Giri [Wed, 20 Mar 2013 13:56:57 +0000 (19:26 +0530)]
Updated Odia Translation.
Alexander Larsson [Wed, 20 Mar 2013 12:56:16 +0000 (13:56 +0100)]
GtkWidget: Handle style updates before realize
If the style changes before we're realized we will delay the
style-updated signal until realize. However, we then lose
the changes bitmap. This means that gtk_widget_real_style_updated()
must treat a NULL change as "everything changed" and queue a resize.
Chun-wei Fan [Wed, 20 Mar 2013 11:08:19 +0000 (19:08 +0800)]
Update Visual Studio Proprerty Sheets
Stop installing the gtk3-demo data files as they are now built into the
gtk3-demo program using GResources.
Chun-wei Fan [Wed, 20 Mar 2013 09:42:15 +0000 (17:42 +0800)]
Fix introspection building for Visual Studio builds
Apparently time_t is used in gtkrecentmanager.h, which is a special type
that could not be recognized when Gtk-3.0.gir is built. Judging from the
ast.py from the gobject-introspection package, we can define time_t as
long, and this will allow pygobject to load the Gtk module from
gi.repository.
Nilamdyuti Goswami [Wed, 20 Mar 2013 07:51:17 +0000 (13:21 +0530)]
Assamese translation updated
Arash Mousavi [Wed, 20 Mar 2013 06:43:17 +0000 (10:13 +0330)]
L10N: Updated Persian Translation
Matthias Clasen [Wed, 20 Mar 2013 02:08:13 +0000 (22:08 -0400)]
Add an example for subtitles in header bars
Matthias Clasen [Wed, 20 Mar 2013 02:07:26 +0000 (22:07 -0400)]
GtkHeaderBar: Add subtitle support
As seen in GdHeaderBar.
Matthias Clasen [Wed, 20 Mar 2013 00:52:54 +0000 (20:52 -0400)]
GtkHeaderBar: Survive toggling custom / non-custom titles
The code was always adding a label widget as a child, but
then skipping over it in forall if a custom_title was present.
This confuses internal logic of GTK+ which assumes that it
can iterate over the entire widget hierarchy with forall,
to maintain state. Fix this by destroying the label when
a custom_title is set, and recreating it as needed.
Matthias Clasen [Wed, 20 Mar 2013 00:51:43 +0000 (20:51 -0400)]
test custom titles more thoroughly
This adds a way to toggle between custom and non-custom titles
in testheaderbar, which is currently broken.
Matthias Clasen [Wed, 20 Mar 2013 00:35:28 +0000 (20:35 -0400)]
GtkHeaderBar: Don't leak
Should have a finalize function, if there's strings to free.
Also avoid some pointless extra ref on custom title widgets.
Gil Forcada [Tue, 19 Mar 2013 22:15:11 +0000 (23:15 +0100)]
[l10n] Updated Catalan translation
Rob Bradford [Tue, 19 Mar 2013 19:52:49 +0000 (19:52 +0000)]
wayland: Preserve dimensions separately for fullscreen / maximised case
Use separate fields for saving the window dimensions prior to fullscreening
and maximisation. Then use those fields to restore the window dimensions from.
Rob Bradford [Tue, 19 Mar 2013 19:40:30 +0000 (19:40 +0000)]
window: Use update_window_buttons to hide title on fullscreen
The function update_window_buttons shows or hides the title header after it
has finished updating the visibility of the various buttons. Unfortunately
this
conflicted with the hiding of the title done when going fullscreen.
This solves the problem and fixes the rendering of fullscreen applications by
using update_window_buttons to control the visibility of the box in the
fullscreen case.
Scott Moreau [Sat, 16 Mar 2013 23:34:57 +0000 (17:34 -0600)]
wayland: Implement gdk_window_[un]maximize
This allows the buttons in the decorations to maximise the window.
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=695945
Signed-off-by: Rob Bradford <rob@linux.intel.com>
Alexander Larsson [Mon, 18 Mar 2013 15:37:25 +0000 (16:37 +0100)]
broadway: Fix assert failure
Requests are not limited in size by BroadwayRequest, as
BroadwayRequestTranslation can be of variable size. No need
to copy the request anymore though, because requests are aligned
now.
Alexander Larsson [Mon, 18 Mar 2013 15:36:27 +0000 (16:36 +0100)]
broadway: Ensure broadway request members are 32bit aligned
Christian Persch [Mon, 18 Mar 2013 13:04:52 +0000 (14:04 +0100)]
gtk: gtk_init_with_args allows NULL for parameter_string
Matthias Clasen [Mon, 18 Mar 2013 12:41:39 +0000 (08:41 -0400)]
Revert "GtkHeaderBar: Allow window dragging"
This reverts commit
30a1a79322f4097ce47c2a08678479d00cc54b69.
This turns out to be unnecessary when you can set the titlebar
on the window and let GtkWindow handle the events. As a benefit,
we get the window menu on custom titlebars for free.
Matthias Clasen [Mon, 18 Mar 2013 12:26:24 +0000 (08:26 -0400)]
Use gtk_window_set_titlebar in testheaderbar
This demonstrates how custom titlebars work both with
and without csd.
Matthias Clasen [Mon, 18 Mar 2013 12:48:15 +0000 (08:48 -0400)]
Add documentation for gtk_window_set_titlebar
Matthias Clasen [Mon, 18 Mar 2013 12:38:02 +0000 (08:38 -0400)]
Add gtk_window_set_titlebar
A new function that sets a custom titlebar on a GtkWindow.
With client-side decorations, the custom titlebar simply
replaces the one that GtkWindow would otherwise create itself.
With traditional decorations, we tell the window manager
to just decorate the window with a border. This works ok
at least with metacity and mutter.
Matthias Clasen [Mon, 18 Mar 2013 12:36:04 +0000 (08:36 -0400)]
Small cleanup in gtk_window_draw
Get the allocation once, at the beginning.
Matthias Clasen [Mon, 18 Mar 2013 12:32:27 +0000 (08:32 -0400)]
window: Don't draw titlebar background
GtkHeaderBar can do its own drawing, no need to do this
in gtk_window_draw.
Matthias Clasen [Mon, 18 Mar 2013 12:29:50 +0000 (08:29 -0400)]
Trivial whitespace fix
Matthias Clasen [Mon, 18 Mar 2013 12:28:44 +0000 (08:28 -0400)]
Add forgotten check
We don't want to create titlebar widgets if the window
is not decorated anyway.
Scott Moreau [Sun, 10 Mar 2013 16:51:01 +0000 (10:51 -0600)]
wayland: Always attach buffer before committing
With recent changes in attach semantics, we always need to attach before
committing. Without this changes to the window contents to not get reflected
in the content of the surface.
Signed-off-by: Rob Bradford <rob@linux.intel.com>
Scott Moreau [Fri, 15 Mar 2013 21:27:18 +0000 (15:27 -0600)]
wayland: Remove unneeded semicolons
Signed-off-by: Rob Bradford <rob@linux.intel.com>
Scott Moreau [Sun, 10 Mar 2013 18:04:57 +0000 (12:04 -0600)]
wayland: Remove unused wayland-egl header
This was left over from the work done in commit:
d4a9863
Signed-off-by: Rob Bradford <rob@linux.intel.com>
Scott Moreau [Sat, 16 Mar 2013 23:57:17 +0000 (17:57 -0600)]
wayland: Set title on shell surfaces to window title
We currently use this information to display the title
string in the window list of the desktop shell.
Signed-off-by: Rob Bradford <rob@linux.intel.com>
Rūdolfs Mazurs [Mon, 18 Mar 2013 11:49:04 +0000 (13:49 +0200)]
Updated Latvian translation
Nilamdyuti Goswami [Mon, 18 Mar 2013 10:45:12 +0000 (16:15 +0530)]
Assamese translation updated
Nilamdyuti Goswami [Mon, 18 Mar 2013 10:39:34 +0000 (16:09 +0530)]
Assamese translation updated
Chun-wei Fan [Mon, 18 Mar 2013 09:14:33 +0000 (17:14 +0800)]
Fix Visual Studio Debug configs
The debug builds must link to the Debug version of the CRT, otherwise
trouble will arise from mixing different CRTs into the resulting binary.
Matthias Clasen [Mon, 18 Mar 2013 05:20:08 +0000 (01:20 -0400)]
Fix a typo
Matthias Clasen [Mon, 18 Mar 2013 05:03:39 +0000 (01:03 -0400)]
Add a headerbar test
Add a testcase for GtkHeaderBar that shows how it can be used
without client-side decorations.
Matthias Clasen [Mon, 18 Mar 2013 05:02:19 +0000 (01:02 -0400)]
GtkHeaderBar: Allow window dragging
We use the same window-dragging style property here to enable
this as for menubars and toolbars.
Matthias Clasen [Sun, 17 Mar 2013 23:00:13 +0000 (19:00 -0400)]
Fix double accounting of border width
For csd, we were subtracting the border width one too many
times from the child height, causing clipped off content e.g.
in the 'Properties' window in testgtk.
Matthias Clasen [Sun, 17 Mar 2013 22:35:21 +0000 (18:35 -0400)]
Allocate the titlebar height according to width
Matthias Clasen [Sun, 17 Mar 2013 22:34:35 +0000 (18:34 -0400)]
Add some visible border to the default csd
Matthias Clasen [Sun, 17 Mar 2013 22:25:45 +0000 (18:25 -0400)]
Replace GLE reference
Recommending gtkparasite is more useful nowadays.
Fran Diéguez [Sun, 17 Mar 2013 22:22:29 +0000 (23:22 +0100)]
Updated galician translations
Matthias Clasen [Sun, 17 Mar 2013 20:24:34 +0000 (16:24 -0400)]
GtkFontButton: default show-preview-entry to TRUE
This is what the property declaration says, after all.
https://bugzilla.gnome.org/show_bug.cgi?id=695948
Alban Browaeys [Thu, 7 Mar 2013 14:54:04 +0000 (15:54 +0100)]
GtkEntryAccessible: also handle entry icon tooltip NULL in notify_gtk.
To clear the tooltip one is to set the tooltip to NULL. Though
the GtkEntryAccessible expect this tooltip to not be NULL in
gtk_entry_accessible_notify_gtk (already handling this case
in its _init).
Fixes:
** (epiphany:23914): CRITICAL **: atk_object_set_description: assertion
`description != NULL' failed
when epiphany g_object_set the entry icon tooltip to NULL (clear the
tooltip) in its find bar.
https://bugzilla.gnome.org/show_bug.cgi?id=695375
Sébastien Wilmet [Tue, 24 Apr 2012 20:22:22 +0000 (22:22 +0200)]
GtkLabel: fix mnemonic-keyval when use-markup is true
To extract the mnemonic key value, the string must contain the
underscore. But when the "gtk-auto-mnemonics" setting is true and when
the Alt key is not pressed, the underscore must not be displayed. The
problem was that the 'new_str' variable was used for both purposes:
extract the text to display, and extract the accelerator character.
When the underscore must not be visible, the underscores were removed
from the 'new_str' variable before extracting the accelerator character.
Now there are two strings, one for each purpose.
https://bugzilla.gnome.org/show_bug.cgi?id=674759
Piotr Drąg [Sun, 17 Mar 2013 16:47:32 +0000 (17:47 +0100)]
Updated POTFILES.in
Rob Bradford [Tue, 19 Feb 2013 12:55:07 +0000 (12:55 +0000)]
css: Add style entries for client side decorations to default CSS
Matthias Clasen [Sun, 10 Mar 2013 17:46:59 +0000 (13:46 -0400)]
window: Render inner and outer border separately
This lets themes render a window frame in the inner border,
and a shadow or nothing in the outer border.